package com.uniqueyi.baselib.utilsbase.theme;

import android.support.annotation.ColorRes;
import android.support.annotation.StyleRes;

import com.uniqueyi.baselib.R;

/**
 * Created by
 * author:  cwy.
 * date:    2018/2/28.  14:01.
 * prj:     Uniqueyi.
 */


public enum Themes {
    Def("默认", R.style.def_style, R.color.colorPrimary),
    Black("黑色", R.style.black_style, R.color.colorPrimary);

    private String title;
    private int colorRes;
    private int theme;

    Themes(String title, @StyleRes int theme, @ColorRes int colorRes) {
        this.title = title;
        this.theme = theme;
        this.colorRes = colorRes;
    }

    //    Themes(String title, @StyleRes int theme) {
//        Themes(title,theme,R.color.colorPrimary);
//    }
    public String getTitle() {
        return title;
    }

    public int getColorRes() {
        return colorRes;
    }

    public int getTheme() {
        return theme;
    }
}
